package com.appkubes.fintech.admin;

import com.appkubes.fintech.common.util.SpringContextHolder;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author Jiahong Chen
 * @date 2019/10/30
 */

@MapperScan({"com.appkubes.fintech.**.dao"})
@SpringBootApplication
public class KylinFinTechAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(KylinFinTechAdminApplication.class, args);
    }

    @Bean
    public SpringContextHolder springContextHolder() {
        return new SpringContextHolder();
    }
}
